import request from '@/utils/request'

export const autoLoginUserApi = (params) => {
  return request({
    noneAlert: true,
    jumpLogin: false,
    method: 'get',
    url: '/v3/user/login/codeToSession',
    params
  })
}

export const registerApi = (params) => {
  return request({
    method: 'get',
    url: '/v3/user/wechat/register',
    params
  })
}
